/***************************************************************************
 *   KShootout - online shootout card game.                                *
 *   Copyright (C) 2008, 2009  MacJariel                                   *
 *                                                                         *
 *   KShootout is free software: you can redistribute it and/or modify     *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation, either version 3 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 *   KShootout is distributed in the hope that it will be useful,          *
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
 *   GNU General Public License for more details.                          *
 *                                                                         *
 *   You should have received a copy of the GNU General Public License     *
 *   along with KShootout.  If not, see <http://www.gnu.org/licenses/>.    *
 ***************************************************************************/

#include "gamewidget.h"

using namespace client;

GameWidget::GameWidget(const Game* game):
    QWidget(0),
    mp_game(game)
{
}

GameWidget::~GameWidget()
{
}

DeckWidget* GameWidget::deckWidget()
{

}

GraveyardWidget* GameWidget::graveyardWidget()
{
}

CardListWidget* GameWidget::selectionWidget()
{
}

PlayerWidget* GameWidget::playerWidget(int tableIndex)
{
}

void GameWidget::setPlayerWidgetType(int tableIndex, PlayerWidgetType type)
{
}


#if 0
#include "gamewidget.h"
#include "ui_gamewidget.h"

#include "game.h"
#include "deckwidget.h"
#include "graveyardwidget.h"
#include "cardlistwidget.h"
#include <localplayerwidget.h>

using namespace client;

DefaultGamePane::DefaultGamePane(Game* game):
        IGamePane(0),
        mp_ui(new Ui::DefaultGamePane()),
        mp_game(game),
        m_localWidgetShown(1),
        mp_deckWidget(0),
        mp_graveyardWidget(0),
        mp_selectionWidget(0),
        m_playerWidgetList(0),
        mp_localPlayerWidget(0)

{
    mp_ui->setupUi(this);

    mp_deckWidget = new DeckWidget(0, game);
    mp_ui->deckHolder->setContent(mp_deckWidget);

    mp_graveyardWidget = new GraveyardWidget(0, game);
    mp_ui->graveyardHolder->setContent(mp_graveyardWidget);

    mp_selectionWidget = new CardListWidget(0, 1, game);
    mp_ui->selectionHolder->setContent(mp_selectionWidget);

    if (m_localWidgetShown) {
        mp_localPlayerWidget = new LocalPlayerWidget(0);
    }

    for (int i = 0; i <
    mp_ui->opponentWidget0Holder->setContent()

}

DefaultGamePane::~DefaultGamePane()
{
    delete mp_ui;
}


virtual void setLocalPlayerWidgetShown(bool localWidgetShown);


DeckWidget* DefaultGamePane::deckWidget()
{
}

GraveyardWidget* DefaultGamePane::graveyardWidget()
{
}

CardListWidget* DefaultGamePane::selectionWidget()
{
}

PlayerWidget* DefaultGamePane::playerWidget(int tableIndex)
{
}

LocalPlayerWidget* DefaultGamePane::localPlayerWidget()
{
}

void DefaultGamePane::setLocalPlayerWidgetShown(bool localWidgetShown)
{
}

void DefaultGamePane::insertChatWidget(ChatWidget*)
{
}

void DefaultGamePane::insertLogWidget(LogWidget*)
{
}
#endif